<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>08按钮练习2</title>
    <style>
        a{
            display: block;
            width: 93px;
            height: 29px;
            
        }
        a:link{
            /* background-image: url("./img/08/link.png");
             */ 
             background-image: url("./img/08/btn.png");
        }
        a:hover{
            /* background-image: url("./img/08/hover.png"); */
            background-position: -93px;
        }
        a:active{
            /* background-image: url("./img/08/active.png");
             */
             background-position: -186px;
        }
        /* 
        图片属于网页的外部资源，外部资源需要浏览器单独发送请求，浏览器加载外部资源时
            按照按需加载。
        
        
        
        
        
        */



    </style>
</head>
<body>
    <a href="javascript:;">
        
    </a>
    
</body>
</html>